public class CarDirector {
    private CarBuilder builder ;
    public CarDirector(CarBuilder concreteBuilder){
        this.builder = concreteBuilder;
    }

    public ProductCar constructComputer(){
        this.builder.buildEngine();
        this.builder.buildTransmission();
        this.builder.buildSuspension();
        return  this.builder.getCarProduct();
    }

    public void setBuilder(CarBuilder builder) {
        this.builder = builder;
    }
}
